<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    /*
    #### string类型
        通过单引号或者是双引号包裹的数据都叫字符串，单引号和双引号没有本质上的差别
    */
    let str1 = 'tao'
    let str2 = "pin"
    let str3 = `qi`
    let str4 = "123"
    console.log(str1 + str2 + str3 + str4)
    const res = `${str1}-${str2}-${str3}`
    console.log(res)

    // 字符串的拼接：+运算符可以实现字符串的拼接，口诀--数字相加字符相连
    console.log(str4+str2)
    console.log(1+1)
</script>
</body>
</html>